package top.hqxiaozou;

import org.apache.commons.lang3.StringUtils;

/**
 * @author: 邹祥发
 * @date: 2022/7/4 22:11
 */
public class IsNoneEmpty {
    public static void main(String[] args) {
        System.out.println("StringUtils.isNoneEmpty(null)：" + StringUtils.isNoneEmpty((CharSequence) null));
        System.out.println("StringUtils.isNoneEmpty(null, \"zou\")：" + StringUtils.isNoneEmpty(null, "zou"));
        System.out.println("StringUtils.isNoneEmpty(\"\", \"zou\")：" + StringUtils.isNoneEmpty("", "zou"));
        System.out.println("StringUtils.isNoneEmpty(\"zou\", \"\")：" + StringUtils.isNoneEmpty("zou", ""));
        System.out.println("StringUtils.isNoneEmpty(\"  zou  \", null)：" + StringUtils.isNoneEmpty("  zou  ", null));
        System.out.println("StringUtils.isNoneEmpty(\" \", \"zou\")：" + StringUtils.isNoneEmpty(" ", "zou"));
        System.out.println("StringUtils.isNoneEmpty(\"zou\", \"qiqi\")：" + StringUtils.isNoneEmpty("zou", "qiqi"));
    }
}
